<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>用户登录</h1>
    <form method="post">
        <select name="role">
            <option value="1">用户</option>
            <option value="2">管理员</option>
        </select>
        <input name="mobile" type="text" placeholder="手机号"/>
        <input name="password" type="password" placeholder="密码"/>
        <input type="submit" value="提 交">
        <span style="color: red">{{ error }}</span> 
    </form>
</body>
</html>